#include "stdafx.h"
#include "Employee.h"
#include <string>

/*------------------------------------------------------------
/ Employee Class
/ By: Mark Freedman
/ Date: February 26 2011
/ Description: A class to define an employee. Contains the
/ attributes employee id, employeee type, and employee password
/ with a number of getter and setter methods for these attributes
------------------------------------------------------------*/

/*------------------------------------------------------------
/ Default Constructor
/ By: Mark Freedman
/ Date: February 26 2011
/ Description: Instantiates any employee object
/ Paramneters: employee ID, employee type, employee password
/ Return: N/A
------------------------------------------------------------*/
Employee::Employee()
{
	employeeID = "";
	employeePassword = "";
}

/*------------------------------------------------------------
/ Constructor
/ By: Mark Freedman
/ Date: February 26 2011
/ Description: Instantiates any employee object
/ Paramneters: employee ID, employee type, employee password
/ Return: N/A
------------------------------------------------------------*/
Employee::Employee(std::string empID, std::string empPWord)
{
	employeeID = empID;
	employeePassword = empPWord;
}

/*------------------------------------------------------------
/ Destructor
/ By: Mark Freedman
/ Date: February 26 2011
/ Description: Destroys an employee object
/ Paramneters: N/A
/ Return: N/A
------------------------------------------------------------*/
Employee::~Employee(void)
{
}

/*------------------------------------------------------------
/ getEmployeeID
/ By: Mark Freedman
/ Date: February 26 2011
/ Description: returns the employee ID 
/ Paramneters: N/A
/ Return: the employeeID
------------------------------------------------------------*/
std::string Employee::getEmployeeID (void){
	return employeeID;
}

/*------------------------------------------------------------
/ getEmployeePassword
/ By: Mark Freedman
/ Date: February 26 2011
/ Description: returns the employee password 
/ Paramneters: N/A
/ Return: the employeePassword
------------------------------------------------------------*/
std::string Employee::getEmployeePassword (){
	return employeePassword;
}

/*------------------------------------------------------------
/ setEmployeeID
/ By: Mark Freedman
/ Date: February 26 2011
/ Description: sets the employee ID
/ Paramneters: the employeeID
/ Return: N/A
------------------------------------------------------------*/
void Employee::setEmployeeID (std::string empID){
	employeeID = empID;
}

/*------------------------------------------------------------
/ setEmployeePassword
/ By: Mark Freedman
/ Date: February 26 2011
/ Description: sets the employee password
/ Paramneters: the employeePassword
/ Return: N/A
------------------------------------------------------------*/
void Employee::setEmployeePassword (std::string empPWord){
	employeePassword = empPWord;
}